package com.jinmdz.fmis.mapper.entity;

import com.jinmdz.fmis.mapper.annotation.MyColumn;
import com.jinmdz.fmis.mapper.annotation.MyTable;
import com.jinmdz.fmis.mapper.base.BaseEntity;

import java.math.BigDecimal;

/**
 * 数据字典表Entity
 *
 * @author generator
 * @date 2020-03-12 17:08
 */
@MyTable(value = "DataDictionaryEntity", name = "data_dictionary", comment = "数据字典表")
public class DataDictionaryEntity extends BaseEntity {
    /**
     * 字典编码
     */
    @MyColumn(value = "dictCode", name = "dict_code", comment = "字典编码", required = true)
    private String dictCode;

    /**
     * 数据编码
     */
    @MyColumn(value = "dataCode", name = "data_code", comment = "数据编码", required = true)
    private Integer dataCode;

    /**
     * 数据文本值
     */
    @MyColumn(value = "dataText", name = "data_text", comment = "数据文本值", required = true)
    private String dataText;

    /**
     * 数据文本值拼音缩写
     */
    @MyColumn(value = "dataTextAbbr", name = "data_text_abbr", comment = "数据文本值拼音缩写")
    private String dataTextAbbr;

    /**
     * 数据数字值
     */
    @MyColumn(value = "dataValue", name = "data_value", comment = "数据数字值")
    private BigDecimal dataValue;

    /**
     * 数据扩展描述
     */
    @MyColumn(value = "dataDescribe", name = "data_describe", comment = "数据扩展描述")
    private String dataDescribe;

    /**
     * 是否默认值
     */
    @MyColumn(value = "asDefault", name = "as_default", comment = "是否默认值", required = true)
    private Integer asDefault;

    /**
     * 禁用状态
     */
    @MyColumn(value = "disableState", name = "disable_state", comment = "禁用状态", required = true)
    private Integer disableState;

    /**
     * 排序
     */
    @MyColumn(value = "sort", name = "sort", comment = "排序", required = true)
    private Integer sort;

    /**
     * 备注
     */
    @MyColumn(value = "remark", name = "remark", comment = "备注")
    private String remark;


    public String getDictCode() {
        return dictCode;
    }

    public DataDictionaryEntity setDictCode(String dictCode) {
        this.dictCode = dictCode;
        return this;
    }

    public Integer getDataCode() {
        return dataCode;
    }

    public DataDictionaryEntity setDataCode(Integer dataCode) {
        this.dataCode = dataCode;
        return this;
    }

    public String getDataText() {
        return dataText;
    }

    public DataDictionaryEntity setDataText(String dataText) {
        this.dataText = dataText;
        return this;
    }

    public String getDataTextAbbr() {
        return dataTextAbbr;
    }

    public DataDictionaryEntity setDataTextAbbr(String dataTextAbbr) {
        this.dataTextAbbr = dataTextAbbr;
        return this;
    }

    public BigDecimal getDataValue() {
        return dataValue;
    }

    public DataDictionaryEntity setDataValue(BigDecimal dataValue) {
        this.dataValue = dataValue;
        return this;
    }

    public String getDataDescribe() {
        return dataDescribe;
    }

    public DataDictionaryEntity setDataDescribe(String dataDescribe) {
        this.dataDescribe = dataDescribe;
        return this;
    }

    public Integer getAsDefault() {
        return asDefault;
    }

    public DataDictionaryEntity setAsDefault(Integer asDefault) {
        this.asDefault = asDefault;
        return this;
    }

    public Integer getDisableState() {
        return disableState;
    }

    public DataDictionaryEntity setDisableState(Integer disableState) {
        this.disableState = disableState;
        return this;
    }

    public Integer getSort() {
        return sort;
    }

    public DataDictionaryEntity setSort(Integer sort) {
        this.sort = sort;
        return this;
    }

    public String getRemark() {
        return remark;
    }

    public DataDictionaryEntity setRemark(String remark) {
        this.remark = remark;
        return this;
    }
}